<?php
namespace Home\Controller;

use Think\Controller;

class IndexController extends Controller
{
    public function index()
    {
        $strlen = strlen("我是谁");
        echo $strlen;
    }

    public function index2()
    {
        $strlen = substr_count("我我我", "我");
        echo $strlen;
    }

    public function index3()
    {
        $time = date("y-m-d,h-i-s", 12342567);
        var_dump($time);
    }

    public function index4()
    {
        $data = array(
            'image' => array(
                array("1"),
                array("1"),
                array("1"),)

        );
        foreach ($data as $k => $v) {
            var_dump($k . '1');

        }
    }
}